<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchAllHonorCert.ascx.vb" Inherits="WebForm_ManageHonorCert_SearchAllHonorCert" %>
<%@ Register Namespace="My" TagPrefix="cc1" %>
<%@ Register src="~/WebForm/CommonControl/VolunteerQueryControl.ascx" tagname="VolunteerQueryControl" tagprefix="uc1" %>

<uc1:VolunteerQueryControl ID="VolunteerQueryControl1" runat="server" LoadOnStartUp="true" />

<table>
    <tr>
        <td>
            <asp:Label ID="lblFilterHour" runat="server"></asp:Label>
            <asp:TextBox ID="txtFilterHour" runat="server"></asp:TextBox>
        </td>
        <td>
            <asp:Button ID="btnQuery" runat="server" meta:resourcekey="btnQuery" />&nbsp;
        </td>
    </tr>
</table>
<br />
<my:mygridview id="gv" runat="server" skinid="pager"  allowhoverselect="false"
    meta:resourcekey="gv" allowhovereffect="True" mysortdirection="Ascending" DataKeyNames="VolunteerID,VolunteerName">
    <Columns>
      <My:VolunteerIDBoundField DataField="VolunteerID" meta:resourcekey="bfVolunteerID"
            ReadOnly="True" />
<%--        <asp:BoundField DataField="VolunteerID" meta:resourcekey="bfVolunteerID"/>
--%>        <asp:BoundField DataField="VolunteerName" meta:resourcekey="bfVolunteerName" />
        <asp:TemplateField  meta:resourceKey="bfEffectiveWorkHour">
            <ItemTemplate>
                <asp:Label ID="lblWorkHour" runat="server" Text='<%# Bind("WorkHour") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
<%--        <asp:BoundField DataField="CreateDate" meta:resourcekey="bfCreateDate" />
--%>        <asp:TemplateField>
            <ItemTemplate>
                <asp:LinkButton id="lknSelect" runat="server" meta:resourcekey="lknSelect" CommandName="Select"></asp:LinkButton>   
           </ItemTemplate>            
        </asp:TemplateField>        
    <%--    <asp:TemplateField>
            <ItemTemplate>
                <asp:LinkButton id="lknCancel" runat="server" meta:resourcekey="lknCancel" CommandName="Cancel"></asp:LinkButton>
                            <ajaxToolkit:ConfirmButtonExtender ID="cbCancel" runat="server" TargetControlID="lknCancel"
                                meta:resourcekey="cbCancel">
                            </ajaxToolkit:ConfirmButtonExtender>                
            </ItemTemplate>            
        </asp:TemplateField>--%>
    </Columns>
</my:mygridview>
